package logic

import (
	"encoding/json"
	"fmt"
	//Logic "../../support/logic"
	"reflect"
)

type ReturnJson struct {
	code     int
	msg      string
	data     []string
}

func t1() string {
	group := ReturnJson{
		code: 200,
		msg: "error",
		data: []string{"Im test 1", "Maroon"},
	}
	//Logic.Haha(group);
	fmt.Println(reflect.TypeOf(group))

	b, err := json.Marshal(group)

	if err != nil {
		fmt.Println("error:", err)
	}

	return string(b)

}

func t2() string {
	return "test2"
}

func t3() string {
	return "1234567"
}
